<meta charset="UTF-8">
<script type="text/javascript" src="${ctx}/resources/js/project/background/product/form.js"></script>
<@m.formShade/>
<div class="easyui-layout" data-options="fit:true">   
    <div data-options="region:'center'" style="padding:3px;">
	    <form id="product_form">
	    	<input type="hidden" name="id" >
			<table class="form_table">
				<tr>
					<td class="label">标题<@m.redstar/></td>
					<td>
						<input name="title" class="easyui-textbox" data-options="width:335,required:true,validType:'maxLength[50]'">
					</td>
					<td class="label">发布日期<@m.redstar/></td>
					<td>
						<input name="publishDate" type="text" class="easyui-datebox" data-options="width:155,editable:false,required:true" value="1"></input>  
					</td>
				</tr>
				<tr>
					<td class="label">产品分类<@m.redstar/></td>
					<td colspan="3">
						<@m.combobox code="" url="/background/productType/queryAll" required="true" name="type"/>
					</td>
				</tr>
				<tr>
					<td class="label">简介</td>
					<td colspan="3">
						<input name="brief" class="easyui-textbox" data-options="width:685,validType:'maxLength[1000]'">
					</td>
				</tr>
				<tr>
					<td class="label">展示图片</td>
					<td colspan="3">
						<div id="product_form_files" class="zyupload" style="float: left;">
						</div>
					</td>
				</tr>
				<tr>
					<td class="label">详情</td>
					<td colspan="3">
						<textarea id="product_form_details" name="details" class="easyui-validatebox" data-options="required:false"></textarea>
					</td>
				</tr>
			</table>
		</form>
    </div>
    <div data-options="region:'south',split:true" style="height:35px;text-align: center;">
    	<@m.btns menucode="PRODUCT" btncodes=["product_savebtn"]/>
    </div> 
</div> 
